Update sdk to v164#8
Open
cebarks wants to merge 6 commits into
Open
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Changes to steamworks/structs.py: - Added _pack_ = 4 to all structs to match Steamworks SDK alignment (#pragma pack(push, 4)) - Fixed FindLeaderboardResult_t.leaderboardFound: c_uint32 -> c_uint8 (matches SDK definition) - Added new fields to ItemInstalled_t: legacyContent (c_uint64) and manifestId (c_uint64) for SDK 1.64 This fixes field offset mismatches on Linux/Mac and ensures structs match the SDK 1.64 ABI. Struct sizes verified: ItemInstalled_t=28, FindLeaderboardResult_t=12, SubscriptionResult=12 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
RequestCurrentStats was removed from the Steamworks SDK (deprecated and removed). Removed from both the STEAMWORKS_METHODS dict and the SteamUserStats interface class. Files modified: - steamworks/methods.py: Removed RequestCurrentStats from STEAMWORKS_METHODS - steamworks/interfaces/userstats.py: Removed RequestCurrentStats() method Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit implements three compatibility fixes for Steamworks SDK 1.64: 1. Remove automatic RequestCurrentStats() call - Removed from SteamInit() initialization (SDK 1.64 calls this automatically) - Removed standalone RequestCurrentStats() wrapper function 2. Fix GetAuthSessionTicket signature - Added NULL parameter for new pSteamNetworkingIdentity argument - Function signature changed in SDK 1.64 3. Update deprecated Controller type names to Input types - ControllerHandle_t → InputHandle_t (5 occurrences) - ControllerDigitalActionHandle_t → InputDigitalActionHandle_t (1 occurrence) - These are typedef aliases to the same uint64 type, purely cosmetic update All changes maintain backward compatibility with existing Python wrapper. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Python 3.14 warns when _pack_ is set without _layout_ on non-Windows platforms. Becomes an error in Python 3.19. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.